﻿using System.Runtime.Serialization;

namespace Yyd.OrganizationUnits
{
    /// <summary>
    /// 组织单位类型 TODO 组织架构第一级必须是公司 
    /// </summary>
    public enum OrganizationUnitType
    {
        /// <summary>
        /// 未知
        /// </summary>
        Unknown,

        /// <summary>
        /// 公司
        /// </summary>
        [EnumMember(Value = "C")]
        Company,

        /// <summary>
        /// 商户
        /// </summary>
        [EnumMember(Value = "A")] 
        Area,

        /// <summary>
        /// 门店
        /// </summary>
        [EnumMember(Value = "S")] 
        School,

        /// <summary>
        /// 部门
        /// </summary>
        [EnumMember(Value = "D")]
        Department
    }
}
